home *** CD-ROM | disk | FTP | other *** search
/ Delphi Magazine Collection 2001 / Delphi Magazine Collection 20001 (2001).iso / DISKS / ISSUE02 / TPACK / WARNING.!!! < prev   
Encoding:
Text File  |  1995-06-02  |  1.1 KB  |  28 lines

  1. ! WARNING !
  2.   =======
  3.  
  4. Both the LCSCMP02.ZIP and TPACK.ZIP archives included on this disk
  5. contain components called TStatusBar.  If you try to install _both_
  6. then you will get an error when rebuilding the COMPLIB.DCL and you
  7. will end up with NO components at all on your component palette!
  8. (a good reason to have a backup copy of COMPLIB.DCL...!).
  9.  
  10. There are several ways round this:
  11.  
  12. 1.  Have different versions of COMPLIB.DCL, one with the TPACK components
  13.     and another with the LCSCMP02 components.  Problem with this is that
  14.     there are lots of good things in TPack which you might want to use
  15.     _with_ the LCSCMP02 TStatusBar (which does actually have more
  16.     functionality).
  17.  
  18. 2.  Amend the source code (and forms don't forget!) in TPACK so that its
  19.     TStatusBar is called something else.  This is not an option with
  20.     LCSCMP02 as source is not provided.
  21.  
  22. 3.  Amend the REGTPACK.PAS file in TPACK, which is used to register the
  23.     TPACK components into COMPLIB.DCL and thus onto the component palette,
  24.     so that TStatusBar is commented out (line 197, in the Register procedure).
  25.  
  26. Chris Frizelle
  27. The Delphi Magazine
  28.